<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>控制面板默认页面</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" type="text/css"
			href="./styles/control_panel.css">
		<script src="./javaScripts/jquery-1.5.1.min.js" type="text/javascript"></script>
		<link rel="stylesheet" type="text/css" href="./styles/tab.css">
		<script>
	$(document).ready(function(){
		var _tab = $("#links_tab li");   //获取滑动导航菜单
		var _box = $(".links_box");      //获取显示内容
		var _hover = "active";           //获取鼠标经过后的样式
		var _index;                      //??
		_tab.click(function(){           //定义鼠标经过事件
			_index = _tab.index(this);   //???
			$(this).addClass(_hover).siblings().removeClass(_hover);  //当前菜单栏目添加样式，并移除兄弟栏目的样式
			_box.eq(_index).show().siblings().hide();                 //
		}) 
	})
</script>
	</head>

	<body
		style="margin-top: 0px; margin-left: auto; margin-right: 0; text-align: center; padding: 0px; text-align: right">
		<div>
			<div class="control_con_right_0021">
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td align="left" class="tb_left" valign="middle" colspan="3" style="padding-left: 10px;">
							编辑个人资料
						</td>

					</tr>

				</table>
			</div>

			<div id="links">
				<div id="links_tab">
					<ul>
						<li class="active">
							基本资料
						</li>
						<li class="">
							上传头像
						</li>
						 
					</ul>	 
				</div>
				<div id="links_box">
					<div class="links_box" style="display: block;">
						  <jsp:include page="./updateUserInfo.jsp" flush="false"></jsp:include> 
					</div>
					<div class="links_box" style="display: none;">
						 <jsp:include page="./userPhotoUpdate.jsp" flush="false"></jsp:include> 
					</div>
					 


				</div>

			</div>
		</div>
		<div>


		</div>
		</div>
	</body>
</html>

